package com.insta.java.webservice;

import java.util.List;

import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

import com.insta.java.dto.LocationDto;
import com.insta.java.dto.UserDto;

@SuppressWarnings("restriction")
@WebService
@SOAPBinding(style= SOAPBinding.Style.RPC)
public interface IUserWSD {
	
	public UserDto connection(String login, String password);
	
	public void registerUser(UserDto user);
	
	public void deleteUser(String login);
	
	public void rent(LocationDto location);
	
	public void returnBook(LocationDto location);
	
	public List<LocationDto> getListLocation(Integer user_id);
}
